package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author stone
 * @date 2022/09/02 11:43
 */
@NoArgsConstructor
@Data
public class JsonUser {
    private String username;
    private String password;
    //private Integer age;
    private Double age;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    Date birthday;

}
